<?php
     include"connect_flag.php";

$year = (date("Y")+1);
$month = date("m");
$day  = date("d");
$exp_date =   $month."/".$day."/" .$year;
mysqli_query($con, "UPDATE $tablename SET exp_date = '$exp_date' WHERE id = '1' ");

	mysqli_close($con);

  echo  "<h5 align='left'>Expires : ".$exp_date."</h5>";
//echo  "<h5 align='left'>Expires : ".$month."/".$day.'/'.($year+1)."</h5>";
?>
